package com.atguigu.spzx.manager.manager;



import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

@Data
public class Student {

    @ExcelProperty(index = 0,value = "学生编号")
    private Long stuId;
    @ExcelProperty(index = 1,value = "学生姓名")
    private String stuName;
    @ExcelProperty(index = 2,value = "学生地址")
    private String stuAddress;

    public Student() {
    }

    public Student(Long stuId, String stuName, String stuAddress) {
        this.stuId = stuId;
        this.stuName = stuName;
        this.stuAddress = stuAddress;
    }

    @Override
    public String toString() {
        return "Student{" +
                "stuId=" + stuId +
                ", stuName='" + stuName + '\'' +
                ", stuAddress='" + stuAddress + '\'' +
                '}';
    }
}
